import AxiosApi from '@/api/AxiosApi'

export async function getOriginList() {
    const result = await AxiosApi.get('/origin/list')
    return result.data
}

export async function addOrigin() {
    const result = await AxiosApi.post('/origin/add')
    return result.data
}
export async function deleteById(id:number) {
    const result = await AxiosApi.delete('/origin/delete/'+id)
    return result.data
}
